<div class="menu floatl">
    <div class="catelog">
    	<ul>
    	   <#list categories as cate>
        	<li>
            	<a href="javascript:void(0);"><#if (cate.title?length gt 25)>${cate.title[0..25]}<#else>${cate.title}</#if></a>
             	<ul>
             	    <#list cate.childs as child>             	   
                	 <li><a href="${base}${search}/cate--${child.id}"><#if (child.title?length gt 25)>${child.title[0..25]}<#else>${child.title}</#if></a></li>
                    </#list> 
                 </ul>   
             </li>
            </#list>                       
        </ul>
    </div>
</div>